package com.gzy.cbrsystem.shimian.dao;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

/**
 * A data access object (DAO) providing persistence and search support for
 * ShimianBingzhen entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see com.gzy.cbrsystem.shimian.dao.ShimianBingzhen
 * @author MyEclipse Persistence Tools
 */

public class ShimianBingzhenDAO extends HibernateDaoSupport {
	private static final Log log = LogFactory.getLog(ShimianBingzhenDAO.class);
	// property constants
	public static final String SMZD1 = "smzd1";
	public static final String SMZD2 = "smzd2";
	public static final String SMZD3 = "smzd3";
	public static final String SMBS = "smbs";
	public static final String ACDFL1 = "acdfl1";
	public static final String ACDFL2 = "acdfl2";
	public static final String ACDFL3 = "acdfl3";
	public static final String AFSSJFL1 = "afssjfl1";
	public static final String AFSSJFL2 = "afssjfl2";
	public static final String AFSSJFL3 = "afssjfl3";
	public static final String AFSSJFL4 = "afssjfl4";
	public static final String ASMYYFL1 = "asmyyfl1";
	public static final String ASMYYFL2 = "asmyyfl2";
	public static final String SMTZLX1 = "smtzlx1";
	public static final String SMTZLX2 = "smtzlx2";
	public static final String SMTZLX3 = "smtzlx3";
	public static final String SMTZLX4 = "smtzlx4";
	public static final String SMTZLX5 = "smtzlx5";
	public static final String SMTZLX6 = "smtzlx6";
	public static final String ZHUANJIA1 = "zhuanjia1";
	public static final String ZHUANJIA2 = "zhuanjia2";
	public static final String ZHUANJIA3 = "zhuanjia3";
	public static final String ZHUANJIA4 = "zhuanjia4";
	public static final String ZHUANJIA5 = "zhuanjia5";
	public static final String ZHUANJIA6 = "zhuanjia6";
	public static final String ZHUANJIA7 = "zhuanjia7";
	public static final String ZHUANJIA8 = "zhuanjia8";
	public static final String ZHUANJIA9 = "zhuanjia9";
	public static final String ZHUANJIA10 = "zhuanjia10";
	public static final String BCTD1 = "bctd1";
	public static final String BCTD2 = "bctd2";
	public static final String BCTD3 = "bctd3";
	public static final String GRSTD1 = "grstd1";
	public static final String GRSTD2 = "grstd2";
	public static final String GRSTD3 = "grstd3";
	public static final String GRSTD4 = "grstd4";
	public static final String GRSTD5 = "grstd5";
	public static final String GRSTD6 = "grstd6";
	public static final String GRSTD7 = "grstd7";
	public static final String GRSTD8 = "grstd8";
	public static final String GRSTD9 = "grstd9";
	public static final String YJS1 = "yjs1";
	public static final String YJS2 = "yjs2";
	public static final String YJS3 = "yjs3";
	public static final String SYJS1 = "syjs1";
	public static final String SYJS2 = "syjs2";
	public static final String SYJS3 = "syjs3";
	public static final String SYJS4 = "syjs4";
	public static final String YJLYSMQXBS1 = "yjlysmqxbs1";
	public static final String YJLYSMQXBS2 = "yjlysmqxbs2";
	public static final String YJLYSMQXBS3 = "yjlysmqxbs3";
	public static final String XYL1 = "xyl1";
	public static final String XYL2 = "xyl2";
	public static final String XYL3 = "xyl3";
	public static final String XYLYSMQXBS1 = "xylysmqxbs1";
	public static final String XYLYSMQXBS2 = "xylysmqxbs2";
	public static final String XYLYSMQXBS3 = "xylysmqxbs3";
	public static final String JWBS1 = "jwbs1";
	public static final String JWBS2 = "jwbs2";
	public static final String JWBS3 = "jwbs3";
	public static final String JWBS4 = "jwbs4";
	public static final String JWBS5 = "jwbs5";
	public static final String JWBS6 = "jwbs6";
	public static final String JWBS7 = "jwbs7";
	public static final String JWBS8 = "jwbs8";
	public static final String JWBS9 = "jwbs9";
	public static final String JWBS10 = "jwbs10";
	public static final String ZHUSHU = "zhushu";
	public static final String ZZTZ1 = "zztz1";
	public static final String ZZTZ2 = "zztz2";
	public static final String ZZTZ3 = "zztz3";
	public static final String ZZTZ4 = "zztz4";
	public static final String ZZTZ5 = "zztz5";
	public static final String ZZTZ6 = "zztz6";
	public static final String JSZT1 = "jszt1";
	public static final String JSZT2 = "jszt2";
	public static final String JSZT3 = "jszt3";
	public static final String JSZT4 = "jszt4";
	public static final String JSZT5 = "jszt5";
	public static final String JSZT6 = "jszt6";
	public static final String JSZT7 = "jszt7";
	public static final String JSZT8 = "jszt8";
	public static final String JSZT9 = "jszt9";
	public static final String JSZT10 = "jszt10";
	public static final String JSZT11 = "jszt11";
	public static final String JSZT12 = "jszt12";
	public static final String JSZT13 = "jszt13";
	public static final String JSZT14 = "jszt14";
	public static final String JSZT15 = "jszt15";
	public static final String JSZT16 = "jszt16";
	public static final String JSZT17 = "jszt17";
	public static final String JSZT18 = "jszt18";
	public static final String TX1 = "tx1";
	public static final String TX2 = "tx2";
	public static final String TX3 = "tx3";
	public static final String TMWG1 = "tmwg1";
	public static final String TMWG2 = "tmwg2";
	public static final String TMWG3 = "tmwg3";
	public static final String TMWG4 = "tmwg4";
	public static final String TMWG5 = "tmwg5";
	public static final String HRZZ1 = "hrzz1";
	public static final String HRZZ2 = "hrzz2";
	public static final String HRZZ3 = "hrzz3";
	public static final String HRZZ4 = "hrzz4";
	public static final String YSKW1 = "yskw1";
	public static final String YSKW2 = "yskw2";
	public static final String YSKW3 = "yskw3";
	public static final String YSKW4 = "yskw4";
	public static final String YSKW5 = "yskw5";
	public static final String YSKW6 = "yskw6";
	public static final String YSKW7 = "yskw7";
	public static final String SZTSGJ1 = "sztsgj1";
	public static final String SZTSGJ2 = "sztsgj2";
	public static final String SZTSGJ3 = "sztsgj3";
	public static final String SZTSGJ4 = "sztsgj4";
	public static final String SZTSGJ5 = "sztsgj5";
	public static final String SZTSGJ6 = "sztsgj6";
	public static final String SZTSGJ7 = "sztsgj7";
	public static final String SZTSGJ8 = "sztsgj8";
	public static final String SZTSGJ9 = "sztsgj9";
	public static final String XHXTZZ1 = "xhxtzz1";
	public static final String XHXTZZ2 = "xhxtzz2";
	public static final String XHXTZZ3 = "xhxtzz3";
	public static final String XHXTZZ4 = "xhxtzz4";
	public static final String XHXTZZ5 = "xhxtzz5";
	public static final String XHXTZZ6 = "xhxtzz6";
	public static final String XHXTZZ7 = "xhxtzz7";
	public static final String EB1 = "eb1";
	public static final String EB2 = "eb2";
	public static final String EB3 = "eb3";
	public static final String RSTZ1 = "rstz1";
	public static final String RSTZ2 = "rstz2";
	public static final String RSTZ3 = "rstz3";
	public static final String RSTZ4 = "rstz4";
	public static final String RSTZ5 = "rstz5";
	public static final String RSTZ6 = "rstz6";
	public static final String RSTZ7 = "rstz7";
	public static final String RSTZ8 = "rstz8";
	public static final String JWBSTZ1 = "jwbstz1";
	public static final String JWBSTZ2 = "jwbstz2";
	public static final String JWBSTZ3 = "jwbstz3";
	public static final String JWBSTZ4 = "jwbstz4";
	public static final String BSZ1 = "bsz1";
	public static final String BSZ2 = "bsz2";
	public static final String BSZ3 = "bsz3";
	public static final String BSZ4 = "bsz4";
	public static final String BSZ5 = "bsz5";
	public static final String BSZ6 = "bsz6";
	public static final String BSZ7 = "bsz7";
	public static final String BSZ8 = "bsz8";
	public static final String BSZ9 = "bsz9";
	public static final String BSZ10 = "bsz10";
	public static final String BSZ11 = "bsz11";
	public static final String BSZ12 = "bsz12";
	public static final String SJSZQK = "sjszqk";
	public static final String BSTI1 = "bsti1";
	public static final String BSTI2 = "bsti2";
	public static final String BSTI3 = "bsti3";
	public static final String BSTI4 = "bsti4";
	public static final String BSTI5 = "bsti5";
	public static final String BSTI6 = "bsti6";
	public static final String BIANSHETI_QT = "bianshetiQt";
	public static final String BSTAI1 = "bstai1";
	public static final String BSTAI2 = "bstai2";
	public static final String BSTAI3 = "bstai3";
	public static final String BSTAI4 = "bstai4";
	public static final String BSTAI5 = "bstai5";
	public static final String BSTAI6 = "bstai6";
	public static final String BSTAI7 = "bstai7";
	public static final String BSTAI8 = "bstai8";
	public static final String BSTAI9 = "bstai9";
	public static final String BSTAI10 = "bstai10";
	public static final String BSTAI11 = "bstai11";
	public static final String BSTAI12 = "bstai12";
	public static final String BSTAI13 = "bstai13";
	public static final String BSTAI14 = "bstai14";
	public static final String BIANSHETAI_QT = "bianshetaiQt";
	public static final String SDML = "sdml";
	public static final String JBMX1 = "jbmx1";
	public static final String JBMX2 = "jbmx2";
	public static final String JBMX3 = "jbmx3";
	public static final String JBMX4 = "jbmx4";
	public static final String JBMX5 = "jbmx5";
	public static final String JBMX6 = "jbmx6";
	public static final String JBMX7 = "jbmx7";
	public static final String JBMX8 = "jbmx8";
	public static final String JBMX9 = "jbmx9";
	public static final String JBMX10 = "jbmx10";
	public static final String JBMX11 = "jbmx11";
	public static final String JBMX12 = "jbmx12";
	public static final String JBMX13 = "jbmx13";
	public static final String JBMX14 = "jbmx14";
	public static final String JBMX15 = "jbmx15";
	public static final String JBMX16 = "jbmx16";
	public static final String JBMX17 = "jbmx17";
	public static final String JBMX_QT = "jbmxQt";
	public static final String MX_SJSZQK = "mxSjszqk";

	protected void initDao() {
		// do nothing
	}

	public void save(ShimianBingzhen transientInstance) {
		log.debug("saving ShimianBingzhen instance");
		try {
			getHibernateTemplate().save(transientInstance);
			log.debug("save successful");
		} catch (RuntimeException re) {
			log.error("save failed", re);
			throw re;
		}
	}

	public void delete(ShimianBingzhen persistentInstance) {
		log.debug("deleting ShimianBingzhen instance");
		try {
			getHibernateTemplate().delete(persistentInstance);
			log.debug("delete successful");
		} catch (RuntimeException re) {
			log.error("delete failed", re);
			throw re;
		}
	}

	public ShimianBingzhen findById(java.lang.String id) {
		log.debug("getting ShimianBingzhen instance with id: " + id);
		try {
			ShimianBingzhen instance = (ShimianBingzhen) getHibernateTemplate()
					.get("com.gzy.cbrsystem.shimian.dao.ShimianBingzhen", id);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

	public List findByExample(ShimianBingzhen instance) {
		log.debug("finding ShimianBingzhen instance by example");
		try {
			List results = getHibernateTemplate().findByExample(instance);
			log.debug("find by example successful, result size: "
					+ results.size());
			return results;
		} catch (RuntimeException re) {
			log.error("find by example failed", re);
			throw re;
		}
	}

	public List findByProperty(String propertyName, Object value) {
		log.debug("finding ShimianBingzhen instance with property: "
				+ propertyName + ", value: " + value);
		try {
			String queryString = "from ShimianBingzhen as model where model."
					+ propertyName + "= ?";
			return getHibernateTemplate().find(queryString, value);
		} catch (RuntimeException re) {
			log.error("find by property name failed", re);
			throw re;
		}
	}

	public List findBySmzd1(Object smzd1) {
		return findByProperty(SMZD1, smzd1);
	}

	public List findBySmzd2(Object smzd2) {
		return findByProperty(SMZD2, smzd2);
	}

	public List findBySmzd3(Object smzd3) {
		return findByProperty(SMZD3, smzd3);
	}

	public List findBySmbs(Object smbs) {
		return findByProperty(SMBS, smbs);
	}

	public List findByAcdfl1(Object acdfl1) {
		return findByProperty(ACDFL1, acdfl1);
	}

	public List findByAcdfl2(Object acdfl2) {
		return findByProperty(ACDFL2, acdfl2);
	}

	public List findByAcdfl3(Object acdfl3) {
		return findByProperty(ACDFL3, acdfl3);
	}

	public List findByAfssjfl1(Object afssjfl1) {
		return findByProperty(AFSSJFL1, afssjfl1);
	}

	public List findByAfssjfl2(Object afssjfl2) {
		return findByProperty(AFSSJFL2, afssjfl2);
	}

	public List findByAfssjfl3(Object afssjfl3) {
		return findByProperty(AFSSJFL3, afssjfl3);
	}

	public List findByAfssjfl4(Object afssjfl4) {
		return findByProperty(AFSSJFL4, afssjfl4);
	}

	public List findByAsmyyfl1(Object asmyyfl1) {
		return findByProperty(ASMYYFL1, asmyyfl1);
	}

	public List findByAsmyyfl2(Object asmyyfl2) {
		return findByProperty(ASMYYFL2, asmyyfl2);
	}

	public List findBySmtzlx1(Object smtzlx1) {
		return findByProperty(SMTZLX1, smtzlx1);
	}

	public List findBySmtzlx2(Object smtzlx2) {
		return findByProperty(SMTZLX2, smtzlx2);
	}

	public List findBySmtzlx3(Object smtzlx3) {
		return findByProperty(SMTZLX3, smtzlx3);
	}

	public List findBySmtzlx4(Object smtzlx4) {
		return findByProperty(SMTZLX4, smtzlx4);
	}

	public List findBySmtzlx5(Object smtzlx5) {
		return findByProperty(SMTZLX5, smtzlx5);
	}

	public List findBySmtzlx6(Object smtzlx6) {
		return findByProperty(SMTZLX6, smtzlx6);
	}

	public List findByZhuanjia1(Object zhuanjia1) {
		return findByProperty(ZHUANJIA1, zhuanjia1);
	}

	public List findByZhuanjia2(Object zhuanjia2) {
		return findByProperty(ZHUANJIA2, zhuanjia2);
	}

	public List findByZhuanjia3(Object zhuanjia3) {
		return findByProperty(ZHUANJIA3, zhuanjia3);
	}

	public List findByZhuanjia4(Object zhuanjia4) {
		return findByProperty(ZHUANJIA4, zhuanjia4);
	}

	public List findByZhuanjia5(Object zhuanjia5) {
		return findByProperty(ZHUANJIA5, zhuanjia5);
	}

	public List findByZhuanjia6(Object zhuanjia6) {
		return findByProperty(ZHUANJIA6, zhuanjia6);
	}

	public List findByZhuanjia7(Object zhuanjia7) {
		return findByProperty(ZHUANJIA7, zhuanjia7);
	}

	public List findByZhuanjia8(Object zhuanjia8) {
		return findByProperty(ZHUANJIA8, zhuanjia8);
	}

	public List findByZhuanjia9(Object zhuanjia9) {
		return findByProperty(ZHUANJIA9, zhuanjia9);
	}

	public List findByZhuanjia10(Object zhuanjia10) {
		return findByProperty(ZHUANJIA10, zhuanjia10);
	}

	public List findByBctd1(Object bctd1) {
		return findByProperty(BCTD1, bctd1);
	}

	public List findByBctd2(Object bctd2) {
		return findByProperty(BCTD2, bctd2);
	}

	public List findByBctd3(Object bctd3) {
		return findByProperty(BCTD3, bctd3);
	}

	public List findByGrstd1(Object grstd1) {
		return findByProperty(GRSTD1, grstd1);
	}

	public List findByGrstd2(Object grstd2) {
		return findByProperty(GRSTD2, grstd2);
	}

	public List findByGrstd3(Object grstd3) {
		return findByProperty(GRSTD3, grstd3);
	}

	public List findByGrstd4(Object grstd4) {
		return findByProperty(GRSTD4, grstd4);
	}

	public List findByGrstd5(Object grstd5) {
		return findByProperty(GRSTD5, grstd5);
	}

	public List findByGrstd6(Object grstd6) {
		return findByProperty(GRSTD6, grstd6);
	}

	public List findByGrstd7(Object grstd7) {
		return findByProperty(GRSTD7, grstd7);
	}

	public List findByGrstd8(Object grstd8) {
		return findByProperty(GRSTD8, grstd8);
	}

	public List findByGrstd9(Object grstd9) {
		return findByProperty(GRSTD9, grstd9);
	}

	public List findByYjs1(Object yjs1) {
		return findByProperty(YJS1, yjs1);
	}

	public List findByYjs2(Object yjs2) {
		return findByProperty(YJS2, yjs2);
	}

	public List findByYjs3(Object yjs3) {
		return findByProperty(YJS3, yjs3);
	}

	public List findBySyjs1(Object syjs1) {
		return findByProperty(SYJS1, syjs1);
	}

	public List findBySyjs2(Object syjs2) {
		return findByProperty(SYJS2, syjs2);
	}

	public List findBySyjs3(Object syjs3) {
		return findByProperty(SYJS3, syjs3);
	}

	public List findBySyjs4(Object syjs4) {
		return findByProperty(SYJS4, syjs4);
	}

	public List findByYjlysmqxbs1(Object yjlysmqxbs1) {
		return findByProperty(YJLYSMQXBS1, yjlysmqxbs1);
	}

	public List findByYjlysmqxbs2(Object yjlysmqxbs2) {
		return findByProperty(YJLYSMQXBS2, yjlysmqxbs2);
	}

	public List findByYjlysmqxbs3(Object yjlysmqxbs3) {
		return findByProperty(YJLYSMQXBS3, yjlysmqxbs3);
	}

	public List findByXyl1(Object xyl1) {
		return findByProperty(XYL1, xyl1);
	}

	public List findByXyl2(Object xyl2) {
		return findByProperty(XYL2, xyl2);
	}

	public List findByXyl3(Object xyl3) {
		return findByProperty(XYL3, xyl3);
	}

	public List findByXylysmqxbs1(Object xylysmqxbs1) {
		return findByProperty(XYLYSMQXBS1, xylysmqxbs1);
	}

	public List findByXylysmqxbs2(Object xylysmqxbs2) {
		return findByProperty(XYLYSMQXBS2, xylysmqxbs2);
	}

	public List findByXylysmqxbs3(Object xylysmqxbs3) {
		return findByProperty(XYLYSMQXBS3, xylysmqxbs3);
	}

	public List findByJwbs1(Object jwbs1) {
		return findByProperty(JWBS1, jwbs1);
	}

	public List findByJwbs2(Object jwbs2) {
		return findByProperty(JWBS2, jwbs2);
	}

	public List findByJwbs3(Object jwbs3) {
		return findByProperty(JWBS3, jwbs3);
	}

	public List findByJwbs4(Object jwbs4) {
		return findByProperty(JWBS4, jwbs4);
	}

	public List findByJwbs5(Object jwbs5) {
		return findByProperty(JWBS5, jwbs5);
	}

	public List findByJwbs6(Object jwbs6) {
		return findByProperty(JWBS6, jwbs6);
	}

	public List findByJwbs7(Object jwbs7) {
		return findByProperty(JWBS7, jwbs7);
	}

	public List findByJwbs8(Object jwbs8) {
		return findByProperty(JWBS8, jwbs8);
	}

	public List findByJwbs9(Object jwbs9) {
		return findByProperty(JWBS9, jwbs9);
	}

	public List findByJwbs10(Object jwbs10) {
		return findByProperty(JWBS10, jwbs10);
	}

	public List findByZhushu(Object zhushu) {
		return findByProperty(ZHUSHU, zhushu);
	}

	public List findByZztz1(Object zztz1) {
		return findByProperty(ZZTZ1, zztz1);
	}

	public List findByZztz2(Object zztz2) {
		return findByProperty(ZZTZ2, zztz2);
	}

	public List findByZztz3(Object zztz3) {
		return findByProperty(ZZTZ3, zztz3);
	}

	public List findByZztz4(Object zztz4) {
		return findByProperty(ZZTZ4, zztz4);
	}

	public List findByZztz5(Object zztz5) {
		return findByProperty(ZZTZ5, zztz5);
	}

	public List findByZztz6(Object zztz6) {
		return findByProperty(ZZTZ6, zztz6);
	}

	public List findByJszt1(Object jszt1) {
		return findByProperty(JSZT1, jszt1);
	}

	public List findByJszt2(Object jszt2) {
		return findByProperty(JSZT2, jszt2);
	}

	public List findByJszt3(Object jszt3) {
		return findByProperty(JSZT3, jszt3);
	}

	public List findByJszt4(Object jszt4) {
		return findByProperty(JSZT4, jszt4);
	}

	public List findByJszt5(Object jszt5) {
		return findByProperty(JSZT5, jszt5);
	}

	public List findByJszt6(Object jszt6) {
		return findByProperty(JSZT6, jszt6);
	}

	public List findByJszt7(Object jszt7) {
		return findByProperty(JSZT7, jszt7);
	}

	public List findByJszt8(Object jszt8) {
		return findByProperty(JSZT8, jszt8);
	}

	public List findByJszt9(Object jszt9) {
		return findByProperty(JSZT9, jszt9);
	}

	public List findByJszt10(Object jszt10) {
		return findByProperty(JSZT10, jszt10);
	}

	public List findByJszt11(Object jszt11) {
		return findByProperty(JSZT11, jszt11);
	}

	public List findByJszt12(Object jszt12) {
		return findByProperty(JSZT12, jszt12);
	}

	public List findByJszt13(Object jszt13) {
		return findByProperty(JSZT13, jszt13);
	}

	public List findByJszt14(Object jszt14) {
		return findByProperty(JSZT14, jszt14);
	}

	public List findByJszt15(Object jszt15) {
		return findByProperty(JSZT15, jszt15);
	}

	public List findByJszt16(Object jszt16) {
		return findByProperty(JSZT16, jszt16);
	}

	public List findByJszt17(Object jszt17) {
		return findByProperty(JSZT17, jszt17);
	}

	public List findByJszt18(Object jszt18) {
		return findByProperty(JSZT18, jszt18);
	}

	public List findByTx1(Object tx1) {
		return findByProperty(TX1, tx1);
	}

	public List findByTx2(Object tx2) {
		return findByProperty(TX2, tx2);
	}

	public List findByTx3(Object tx3) {
		return findByProperty(TX3, tx3);
	}

	public List findByTmwg1(Object tmwg1) {
		return findByProperty(TMWG1, tmwg1);
	}

	public List findByTmwg2(Object tmwg2) {
		return findByProperty(TMWG2, tmwg2);
	}

	public List findByTmwg3(Object tmwg3) {
		return findByProperty(TMWG3, tmwg3);
	}

	public List findByTmwg4(Object tmwg4) {
		return findByProperty(TMWG4, tmwg4);
	}

	public List findByTmwg5(Object tmwg5) {
		return findByProperty(TMWG5, tmwg5);
	}

	public List findByHrzz1(Object hrzz1) {
		return findByProperty(HRZZ1, hrzz1);
	}

	public List findByHrzz2(Object hrzz2) {
		return findByProperty(HRZZ2, hrzz2);
	}

	public List findByHrzz3(Object hrzz3) {
		return findByProperty(HRZZ3, hrzz3);
	}

	public List findByHrzz4(Object hrzz4) {
		return findByProperty(HRZZ4, hrzz4);
	}

	public List findByYskw1(Object yskw1) {
		return findByProperty(YSKW1, yskw1);
	}

	public List findByYskw2(Object yskw2) {
		return findByProperty(YSKW2, yskw2);
	}

	public List findByYskw3(Object yskw3) {
		return findByProperty(YSKW3, yskw3);
	}

	public List findByYskw4(Object yskw4) {
		return findByProperty(YSKW4, yskw4);
	}

	public List findByYskw5(Object yskw5) {
		return findByProperty(YSKW5, yskw5);
	}

	public List findByYskw6(Object yskw6) {
		return findByProperty(YSKW6, yskw6);
	}

	public List findByYskw7(Object yskw7) {
		return findByProperty(YSKW7, yskw7);
	}

	public List findBySztsgj1(Object sztsgj1) {
		return findByProperty(SZTSGJ1, sztsgj1);
	}

	public List findBySztsgj2(Object sztsgj2) {
		return findByProperty(SZTSGJ2, sztsgj2);
	}

	public List findBySztsgj3(Object sztsgj3) {
		return findByProperty(SZTSGJ3, sztsgj3);
	}

	public List findBySztsgj4(Object sztsgj4) {
		return findByProperty(SZTSGJ4, sztsgj4);
	}

	public List findBySztsgj5(Object sztsgj5) {
		return findByProperty(SZTSGJ5, sztsgj5);
	}

	public List findBySztsgj6(Object sztsgj6) {
		return findByProperty(SZTSGJ6, sztsgj6);
	}

	public List findBySztsgj7(Object sztsgj7) {
		return findByProperty(SZTSGJ7, sztsgj7);
	}

	public List findBySztsgj8(Object sztsgj8) {
		return findByProperty(SZTSGJ8, sztsgj8);
	}

	public List findBySztsgj9(Object sztsgj9) {
		return findByProperty(SZTSGJ9, sztsgj9);
	}

	public List findByXhxtzz1(Object xhxtzz1) {
		return findByProperty(XHXTZZ1, xhxtzz1);
	}

	public List findByXhxtzz2(Object xhxtzz2) {
		return findByProperty(XHXTZZ2, xhxtzz2);
	}

	public List findByXhxtzz3(Object xhxtzz3) {
		return findByProperty(XHXTZZ3, xhxtzz3);
	}

	public List findByXhxtzz4(Object xhxtzz4) {
		return findByProperty(XHXTZZ4, xhxtzz4);
	}

	public List findByXhxtzz5(Object xhxtzz5) {
		return findByProperty(XHXTZZ5, xhxtzz5);
	}

	public List findByXhxtzz6(Object xhxtzz6) {
		return findByProperty(XHXTZZ6, xhxtzz6);
	}

	public List findByXhxtzz7(Object xhxtzz7) {
		return findByProperty(XHXTZZ7, xhxtzz7);
	}

	public List findByEb1(Object eb1) {
		return findByProperty(EB1, eb1);
	}

	public List findByEb2(Object eb2) {
		return findByProperty(EB2, eb2);
	}

	public List findByEb3(Object eb3) {
		return findByProperty(EB3, eb3);
	}

	public List findByRstz1(Object rstz1) {
		return findByProperty(RSTZ1, rstz1);
	}

	public List findByRstz2(Object rstz2) {
		return findByProperty(RSTZ2, rstz2);
	}

	public List findByRstz3(Object rstz3) {
		return findByProperty(RSTZ3, rstz3);
	}

	public List findByRstz4(Object rstz4) {
		return findByProperty(RSTZ4, rstz4);
	}

	public List findByRstz5(Object rstz5) {
		return findByProperty(RSTZ5, rstz5);
	}

	public List findByRstz6(Object rstz6) {
		return findByProperty(RSTZ6, rstz6);
	}

	public List findByRstz7(Object rstz7) {
		return findByProperty(RSTZ7, rstz7);
	}

	public List findByRstz8(Object rstz8) {
		return findByProperty(RSTZ8, rstz8);
	}

	public List findByJwbstz1(Object jwbstz1) {
		return findByProperty(JWBSTZ1, jwbstz1);
	}

	public List findByJwbstz2(Object jwbstz2) {
		return findByProperty(JWBSTZ2, jwbstz2);
	}

	public List findByJwbstz3(Object jwbstz3) {
		return findByProperty(JWBSTZ3, jwbstz3);
	}

	public List findByJwbstz4(Object jwbstz4) {
		return findByProperty(JWBSTZ4, jwbstz4);
	}

	public List findByBsz1(Object bsz1) {
		return findByProperty(BSZ1, bsz1);
	}

	public List findByBsz2(Object bsz2) {
		return findByProperty(BSZ2, bsz2);
	}

	public List findByBsz3(Object bsz3) {
		return findByProperty(BSZ3, bsz3);
	}

	public List findByBsz4(Object bsz4) {
		return findByProperty(BSZ4, bsz4);
	}

	public List findByBsz5(Object bsz5) {
		return findByProperty(BSZ5, bsz5);
	}

	public List findByBsz6(Object bsz6) {
		return findByProperty(BSZ6, bsz6);
	}

	public List findByBsz7(Object bsz7) {
		return findByProperty(BSZ7, bsz7);
	}

	public List findByBsz8(Object bsz8) {
		return findByProperty(BSZ8, bsz8);
	}

	public List findByBsz9(Object bsz9) {
		return findByProperty(BSZ9, bsz9);
	}

	public List findByBsz10(Object bsz10) {
		return findByProperty(BSZ10, bsz10);
	}

	public List findByBsz11(Object bsz11) {
		return findByProperty(BSZ11, bsz11);
	}

	public List findByBsz12(Object bsz12) {
		return findByProperty(BSZ12, bsz12);
	}

	public List findBySjszqk(Object sjszqk) {
		return findByProperty(SJSZQK, sjszqk);
	}

	public List findByBsti1(Object bsti1) {
		return findByProperty(BSTI1, bsti1);
	}

	public List findByBsti2(Object bsti2) {
		return findByProperty(BSTI2, bsti2);
	}

	public List findByBsti3(Object bsti3) {
		return findByProperty(BSTI3, bsti3);
	}

	public List findByBsti4(Object bsti4) {
		return findByProperty(BSTI4, bsti4);
	}

	public List findByBsti5(Object bsti5) {
		return findByProperty(BSTI5, bsti5);
	}

	public List findByBsti6(Object bsti6) {
		return findByProperty(BSTI6, bsti6);
	}

	public List findByBianshetiQt(Object bianshetiQt) {
		return findByProperty(BIANSHETI_QT, bianshetiQt);
	}

	public List findByBstai1(Object bstai1) {
		return findByProperty(BSTAI1, bstai1);
	}

	public List findByBstai2(Object bstai2) {
		return findByProperty(BSTAI2, bstai2);
	}

	public List findByBstai3(Object bstai3) {
		return findByProperty(BSTAI3, bstai3);
	}

	public List findByBstai4(Object bstai4) {
		return findByProperty(BSTAI4, bstai4);
	}

	public List findByBstai5(Object bstai5) {
		return findByProperty(BSTAI5, bstai5);
	}

	public List findByBstai6(Object bstai6) {
		return findByProperty(BSTAI6, bstai6);
	}

	public List findByBstai7(Object bstai7) {
		return findByProperty(BSTAI7, bstai7);
	}

	public List findByBstai8(Object bstai8) {
		return findByProperty(BSTAI8, bstai8);
	}

	public List findByBstai9(Object bstai9) {
		return findByProperty(BSTAI9, bstai9);
	}

	public List findByBstai10(Object bstai10) {
		return findByProperty(BSTAI10, bstai10);
	}

	public List findByBstai11(Object bstai11) {
		return findByProperty(BSTAI11, bstai11);
	}

	public List findByBstai12(Object bstai12) {
		return findByProperty(BSTAI12, bstai12);
	}

	public List findByBstai13(Object bstai13) {
		return findByProperty(BSTAI13, bstai13);
	}

	public List findByBstai14(Object bstai14) {
		return findByProperty(BSTAI14, bstai14);
	}

	public List findByBianshetaiQt(Object bianshetaiQt) {
		return findByProperty(BIANSHETAI_QT, bianshetaiQt);
	}

	public List findBySdml(Object sdml) {
		return findByProperty(SDML, sdml);
	}

	public List findByJbmx1(Object jbmx1) {
		return findByProperty(JBMX1, jbmx1);
	}

	public List findByJbmx2(Object jbmx2) {
		return findByProperty(JBMX2, jbmx2);
	}

	public List findByJbmx3(Object jbmx3) {
		return findByProperty(JBMX3, jbmx3);
	}

	public List findByJbmx4(Object jbmx4) {
		return findByProperty(JBMX4, jbmx4);
	}

	public List findByJbmx5(Object jbmx5) {
		return findByProperty(JBMX5, jbmx5);
	}

	public List findByJbmx6(Object jbmx6) {
		return findByProperty(JBMX6, jbmx6);
	}

	public List findByJbmx7(Object jbmx7) {
		return findByProperty(JBMX7, jbmx7);
	}

	public List findByJbmx8(Object jbmx8) {
		return findByProperty(JBMX8, jbmx8);
	}

	public List findByJbmx9(Object jbmx9) {
		return findByProperty(JBMX9, jbmx9);
	}

	public List findByJbmx10(Object jbmx10) {
		return findByProperty(JBMX10, jbmx10);
	}

	public List findByJbmx11(Object jbmx11) {
		return findByProperty(JBMX11, jbmx11);
	}

	public List findByJbmx12(Object jbmx12) {
		return findByProperty(JBMX12, jbmx12);
	}

	public List findByJbmx13(Object jbmx13) {
		return findByProperty(JBMX13, jbmx13);
	}

	public List findByJbmx14(Object jbmx14) {
		return findByProperty(JBMX14, jbmx14);
	}

	public List findByJbmx15(Object jbmx15) {
		return findByProperty(JBMX15, jbmx15);
	}

	public List findByJbmx16(Object jbmx16) {
		return findByProperty(JBMX16, jbmx16);
	}

	public List findByJbmx17(Object jbmx17) {
		return findByProperty(JBMX17, jbmx17);
	}

	public List findByJbmxQt(Object jbmxQt) {
		return findByProperty(JBMX_QT, jbmxQt);
	}

	public List findByMxSjszqk(Object mxSjszqk) {
		return findByProperty(MX_SJSZQK, mxSjszqk);
	}

	public List findAll() {
		log.debug("finding all ShimianBingzhen instances");
		try {
			String queryString = "from ShimianBingzhen";
			return getHibernateTemplate().find(queryString);
		} catch (RuntimeException re) {
			log.error("find all failed", re);
			throw re;
		}
	}

	public ShimianBingzhen merge(ShimianBingzhen detachedInstance) {
		log.debug("merging ShimianBingzhen instance");
		try {
			ShimianBingzhen result = (ShimianBingzhen) getHibernateTemplate()
					.merge(detachedInstance);
			log.debug("merge successful");
			return result;
		} catch (RuntimeException re) {
			log.error("merge failed", re);
			throw re;
		}
	}

	public void attachDirty(ShimianBingzhen instance) {
		log.debug("attaching dirty ShimianBingzhen instance");
		try {
			getHibernateTemplate().saveOrUpdate(instance);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public void attachClean(ShimianBingzhen instance) {
		log.debug("attaching clean ShimianBingzhen instance");
		try {
			getHibernateTemplate().lock(instance, LockMode.NONE);
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}

	public static ShimianBingzhenDAO getFromApplicationContext(
			ApplicationContext ctx) {
		return (ShimianBingzhenDAO) ctx.getBean("ShimianBingzhenDAO");
	}
}